package com.liumuxian.exam.dao;


import com.liumuxian.exam.pojo.ExamPerformance;
import com.sun.xml.internal.bind.v2.model.core.ID;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface ExamPerformanceDao extends JpaRepository<ExamPerformance,String>, JpaSpecificationExecutor<ExamPerformance> {
    ExamPerformance findByIdAndState(String id,Integer state);
}
